package com.timothy.junk.gfund.bean;

/**
 * Created by IntelliJ IDEA.
 * User: qtang
 * Date: Jul 5, 2013
 * Time: 9:28:05 AM
 * To change this template use File | Settings | File Templates.
 */
public class GFundBean {
	protected String index;

    protected String fundACode; //A fund code
    protected String fundAName;
    protected int fundAShare;

    protected String fundBCode;  //B fund code
    protected String fundBName;
    protected int fundBShare;

    protected String fundMCode; //Mother fund code
    protected String fundMName;
    protected String fundMIndexCode;  //Mother fund index code

    protected double fundMIndexRatio;

    public GFundBean() {
		super();
	}
    
	public GFundBean(String fundACode, String fundAName, int fundAShare,
			String fundBCode, String fundBName, int fundBShare,
			String fundMCode, String fundMName, String fundMIndexCode,
			double fundMIndexRatio) {
		super();
		this.fundACode = fundACode;
		this.fundAName = fundAName;
		this.fundAShare = fundAShare;
		this.fundBCode = fundBCode;
		this.fundBName = fundBName;
		this.fundBShare = fundBShare;
		this.fundMCode = fundMCode;
		this.fundMName = fundMName;
		this.fundMIndexCode = fundMIndexCode;
		this.fundMIndexRatio = fundMIndexRatio;
	}
	
	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getFundACode() {
		return fundACode;
	}

	public void setFundACode(String fundACode) {
		this.fundACode = fundACode;
	}

	public String getFundAName() {
		return fundAName;
	}

	public void setFundAName(String fundAName) {
		this.fundAName = fundAName;
	}

	public int getFundAShare() {
		return fundAShare;
	}

	public void setFundAShare(int fundAShare) {
		this.fundAShare = fundAShare;
	}

	public String getFundBCode() {
		return fundBCode;
	}

	public void setFundBCode(String fundBCode) {
		this.fundBCode = fundBCode;
	}

	public String getFundBName() {
		return fundBName;
	}

	public void setFundBName(String fundBName) {
		this.fundBName = fundBName;
	}

	public int getFundBShare() {
		return fundBShare;
	}

	public void setFundBShare(int fundBShare) {
		this.fundBShare = fundBShare;
	}

	public String getFundMCode() {
		return fundMCode;
	}

	public void setFundMCode(String fundMCode) {
		this.fundMCode = fundMCode;
	}

	public String getFundMName() {
		return fundMName;
	}

	public void setFundMName(String fundMName) {
		this.fundMName = fundMName;
	}

	public String getFundMIndexCode() {
		return fundMIndexCode;
	}

	public void setFundMIndexCode(String fundMIndexCode) {
		this.fundMIndexCode = fundMIndexCode;
	}

	public double getFundMIndexRatio() {
		return fundMIndexRatio;
	}

	public void setFundMIndexRatio(double fundMIndexRatio) {
		this.fundMIndexRatio = fundMIndexRatio;
	}

	@Override
	public String toString() {
		return "GFundBean [fundACode=" + fundACode + ", fundAName=" + fundAName
				+ ", fundAShare=" + fundAShare + ", fundBCode=" + fundBCode
				+ ", fundBName=" + fundBName + ", fundBShare=" + fundBShare
				+ ", fundMCode=" + fundMCode + ", fundMName=" + fundMName
				+ ", fundMIndexCode=" + fundMIndexCode + ", fundMIndexRatio="
				+ fundMIndexRatio + "]";
	}

}
